package org.mch.swingm.core;

import java.awt.Font;
import java.util.Hashtable;
import java.util.Vector;

import javax.swing.tree.TreeModel;
import javax.swing.tree.TreeNode;

import org.jdesktop.swingx.JXTree;

public class MTree extends JXTree {
	private static final long serialVersionUID = 6445462268211600732L;

	public MTree() {
		super();
		initMCH();
	}

	public MTree(Hashtable<?, ?> value) {
		super(value);
		initMCH();
	}

	public MTree(Object[] value) {
		super(value);
		initMCH();
	}

	public MTree(TreeModel newModel) {
		super(newModel);
		initMCH();
	}

	public MTree(TreeNode root, boolean asksAllowsChildren) {
		super(root, asksAllowsChildren);
		initMCH();
	}

	public MTree(TreeNode root) {
		super(root);
		initMCH();
	}

	public MTree(Vector<?> value) {
		super(value);
		initMCH();
	}

	private void initMCH() {
		setFont(new Font("宋体", Font.PLAIN, 13));
	}

}
